package cn.kawa;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

//解除自动创建dataSource ， cv config类 ，在其中创建代理对象
@SpringBootApplication
@EnableDiscoveryClient
//@MapperScan("cn.kawa.mapper") 此处省略，写道配置类上
//@EnableFeignClients//({"cn.kawa.feign"})  //保险的话可以加上
public class MovieApp {
    public static void main(String[] args) {
        SpringApplication.run(MovieApp.class, args);
    }
}
